package cn.com.duiba.millionaire.center.spider.dao.appinfo.impl;

import cn.com.duiba.millionaire.center.biz.constants.DatabaseSchema;
import cn.com.duiba.millionaire.center.spider.dao.SpiderBaseDao;
import cn.com.duiba.millionaire.center.spider.dao.appinfo.SpiderPublicInfoDao;
import cn.com.duiba.millionaire.center.spider.entity.PublicInfoEntity;
import org.springframework.stereotype.Repository;

/**
 * @author fengyibo
 * @date 2018/8/22 16:48
 */
@Repository
public class SpiderPublicInfoDaoImpl  extends SpiderBaseDao implements SpiderPublicInfoDao {
    @Override
    protected DatabaseSchema chooseSchema() {
        return DatabaseSchema.SPIDER;
    }

    @Override
    public void insertPublicInfo(PublicInfoEntity entity) {
        insert("insertPublicInfo",entity);

    }
}
